projects
/
emacs.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c6ecdab
)
; Fix last change.
author
Eli Zaretskii
<eliz@gnu.org>
Mon, 13 Apr 2020 13:20:14 +0000
(16:20 +0300)
committer
Eli Zaretskii
<eliz@gnu.org>
Mon, 13 Apr 2020 13:20:14 +0000
(16:20 +0300)
src/w32fns.c
patch
|
blob
|
history
diff --git
a/src/w32fns.c
b/src/w32fns.c
index 2d1a92be0961b8545df69272df8bd38bec7bf4c4..dddf3dc57191d794a74a449c755d396e208971ae 100644
(file)
--- a/
src/w32fns.c
+++ b/
src/w32fns.c
@@
-3459,8
+3459,10
@@
w32_msg_pump (deferred_msg * msg_buf)
if (!context)
break;
- BOOL wParam = (BOOL) msg.wParam;
- set_ime_open_status_fn (context, wParam);
+ BOOL new_status = (msg.wParam != 0);
+ BOOL ime_status = get_ime_open_status_fn (context);
+ if (new_status != ime_status)
+ set_ime_open_status_fn (context, new_status);
release_ime_context_fn (focus_window, context);
break;
}